<div class="contentBox">
    <div class="contentBoxThumb">
        {% if note.url %}<a href="{{ note.url }}" target="_new">{% endif %}
        {% if note.image %}<img src="/thumb/{{ note.key }}" /> {% endif %}
        {% if note.url %}</a>{% endif %}
    </div>
    {{ note.text|escape|linebreaks }}
    {% if note.url %} 
    <i>Link: 
       <a href="{{ note.url }}" target="_new">{{ note.url }}</a>
    </i> 
    {% endif %}
    <br>
    <br>
    <img src="/search.gif" class="icon" />
     {% for tag in notetags %} <a href="/filter/{{ tag.text }}">{{ tag.text }}</a>
        {% if not forloop.last %}, {% endif %}
     {% endfor %}
    <div class="date">{{ note.created|date:"F j, Y H:i" }}</div>
    <p align="right">
    <a href="/delete/{{ note.key }}"><img src="/trash.gif" class="icon"/>delete</a> |
    <a href="/edit/{{ note.key }}"><img src="/edit.gif" class="icon"/>edit</a> | 
    <a href="/share/{{ note.key }}"><img src="/mail.gif" class="icon"/>share</a>
    </p>
</div>